package com.shy.bean.factory;

import com.shy.bean.Dog;

public class DogStaticFactory {
    public static Dog newInstance(String name, int age) {
        return new Dog(name, age);
    }
}
